<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script src="./axios.js"></script>
    <script>
        const baseURL='https://api.it120.cc/conner'
        axios.get(baseURL+'/shop/goods/category/all',{
            params:{
                a:1,
                b:20
            }
        }).then(res=>{
            console.log(res)
        })
        axios.get(baseURL+'/shop/goods/category/all?a=1&b=20').then(res=>{
            console.log(res)
        })
        axios.post(baseURL+'/shop/goods/list/v2',{
            a:10,
            b:30
        },{
            headers:{
                token:'875465354'
            }
        }).then(res=>{
            console.log(res)
        })
    </script>
</body>
</html>